#!/bin/sh

##------- Global settings ----------------------------------------------------

ARCONFIG="`PATH=\"../../lib:${PATH}\" which arevi-config`"
if [ ! -x "${ARCONFIG}" ] ; then
  echo "Cannot find arevi-config !"
  exit 1
fi

ARDIR="`${ARCONFIG} --install`"
ARLIB="${ARDIR}/lib"

CCFLAGS="`${ARCONFIG} --cflags`"
LDFLAGS="`${ARCONFIG} --ldflags`"


##------- Executable settings ------------------------------------------------

EXEC_TARGET="testCityGen"

testCityGen_FILES="testCityGen.cpp"

##----------------------------------------------------------------------------
# Generate `makefile' according to the above settings

set ARLIB LIB_HINT
. ${ARLIB}/build-makefile > makefile

##------- Inserted in makefile -----------------------------------------------
# Specific targets can be resolved before/after `all' or `clean' are called
##----------------------------------------------------------------------------
